RTL_CLASS_FILES = RTLReg.py RTLOperand.py RTLOperator.py RTLCode.py RTLBlock.py RTLRoutine.py RTLProgram.py
RTL_CLASS_PYC_FILES =  $(RTL_CLASS_FILES:.py=.pyc)

all: test
test: self_test
clean:
	@rm -f *.pyc

self_test: clean $(RTL_CLASS_PYC_FILES)
%.pyc:%.py
	@../../util/test_py.py $<
	@../../util/compile_pyc.py $<
